<h1>
    Services
</h1>
<p>
    <a href="<?php echo $this->baseUrl() ?>/admin/index/new-service"> + Add New Service </a>
</p>
<form method='POST'>
    <input type='submit' value='Delete' class='delete-item-button' />
    <table cellspacing="0" id='tbl_list'>	
        <thead>
            <tr>
                <th style="width: 6%">
                    <input type='checkbox' id='master_check'/>	
                </th>
                <th>
                    Name
                </th>
            </tr>
        </thead>
        <tbody>
            <?php foreach ($this->services as $service): ?>
                <tr>
                    <td>
                        <input type='checkbox' name='delete_ids[]' value='<?php echo $service->id ?>'/>
                    </td>
                    <td>
                        <?php $edit_url = $this->url(array("action" => "edit-service", "id" => $service->id)) ?>
                        <a href='<?php echo $edit_url ?>'>
                            <?php echo $service->name ?>
                        </a>
                    </td>
                </tr>
            <?php endforeach; ?>
        </tbody>
    </table>
</form>